package com.ms.p2p.provider;

import com.ms.p2p.entity.account.AccountRecharge;

import java.util.List;
import java.util.Map;


public interface MemberAccountRechargeProvider {



	/**
	 * 充值记录
	 */
	public int insert(AccountRecharge recharge) ;

	/**
	 * 根基ID查充值记录
	 *
	 * @param rechagreId
	 * @return
	 */
	public AccountRecharge findById(int rechagreId);

	public AccountRecharge findByIdStatus0(int rechagreId);


	public Map<String, Object> findDetail(int rechagreId);


	public int updateVerify(AccountRecharge map);


	public void onlineRecharge(String ip,AccountRecharge recharge, String name);

	public String selectTotalTakeCash(int user_id);


	public List<AccountRecharge> findPager(Integer user_id, int begin,
										   Integer pageSize) ;

	public int findCount(Integer user_id);

	public List<Map<String, Object>> findPaager(String rechargeType,String payWay,
												String money, String userName, String trade_no, String status,
												String begin_date, String end_date, int begin, Integer pageSize);


	public int findCount(String rechargeType,String payWay, String money, String userName,
						 String trade_no, String status, String begin_date, String end_date);


	public String selectTotalRecharge(Integer id);

	public AccountRecharge findByTrano(String requestId, Integer status);


}
